# 用户需要实现的函数

{{CORE_CODE}}


if __name__ == "__main__":
    x = int(input())
    result = isPalindrome(x)
    print("true" if result else "false")